<template>
  <div class="content">
    <div class="href">
      <div class="link">首页</div>
      <icon name="iconxiangyoubeifen16" size="14" />
      <div class="link">活动页</div>
    </div>
    <div class="action-list">
      <ActionItem1 />
      <ActionItem1 />
      <ActionItem1 />
      <ActionItem1 />
      <ActionItem1 />
      <ActionItem1 />
    </div>
    <div class="title">礼品</div>
    <div class="goods-list">
      <GoodsItem1 />
      <GoodsItem1 />
      <GoodsItem1 />
      <GoodsItem1 />
      <GoodsItem1 />
    </div>
  </div>
</template>

<script>
import ActionItem1 from "@/components/ActionItem/ActionItem1.vue";
import GoodsItem1 from "@/components/GoodsItem/GoodsItem1.vue";
export default {
  name: "BrandAction",
  components: { ActionItem1, GoodsItem1 },
};
</script>

<style lang="scss" scoped>
.content {
  .href {
    max-width: 1200px;
    font-size: 0;
    line-height: 22px;
    margin: 20px auto;
    i {
      padding: 0 10px;
      vertical-align: inherit;
    }
    .link {
      display: inline-block;
      font-size: 16px;
      font-weight: 400;
      color: #333333;
      line-height: 22px;
    }
  }
  .banner {
    height: 284px;
    padding: 1px;
    background: #940514;
    margin: 20px 0;
    .cont {
      max-width: 1200px;
      margin: 40px auto;
      width: 1200px;
      height: 204px;
      background: #fce6aa;
      border-radius: 5px;
      display: flex;
      align-items: center;
      .info {
        padding: 0 40px 0 20px;
        .tit {
          font-size: 18px;
          font-weight: 400;
          color: #d52c1a;
          line-height: 25px;
          margin-bottom: 12px;
        }
        .tips {
          font-size: 14px;
          font-weight: 400;
          color: #d52c1a;
          line-height: 20px;
        }
      }
    }
  }
  .spike-tit {
    max-width: 1200px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    .starting {
      width: 332px;
      height: 44px;
      background: #d52c1a;
      border-radius: 22px;
      display: flex;
      font-size: 18px;
      font-weight: 600;
      color: #fce6aa;
      line-height: 25px;
      align-items: center;
      justify-content: center;
      .tit {
        padding-right: 40px;
      }
    }
    .future {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 64px;
      .time {
        font-size: 18px;
        font-weight: 600;
        color: #d48d09;
        line-height: 25px;
        margin-right: 12px;
      }
      .btn {
        height: 44px;
        border-radius: 22px;
        border: 1px solid #d48d09;
        padding: 0 16px;
        line-height: 44px;
        font-size: 18px;
        font-weight: 400;
        color: #d48d09;
      }
      &.one {
        margin-left: 57px;
        .time {
          color: #d52c1a;
        }
        .btn {
          border-color: #d52c1a;
          color: #d52c1a;
        }
      }
    }
  }
  .action-list {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
    & div:nth-child(2n + 1) {
      margin-left: 0;
    }
  }
  .title {
    max-width: 1200px;
    margin: 0 auto 12px;
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    line-height: 33px;
  }
  .goods-list {
    max-width: 1200px;
    font-size: 0;
    margin: 0 auto 20px;
    & div:nth-child(5n + 1) {
      margin-left: 0;
    }
  }
}
</style>
